What is the concept of handle in Java?


Posted by Rich on 2022-07-18

I was googling the differences between primitive and object in Java. One of the difference is that primitive stores value and object stores handle. So I wonder what is handle? I found this post on stackoverflow.
The usual term is "object reference" (or just "reference"), rather than "handle."
There are more details in that post.










Related Posts

[MSSQL] 關於nvarchar(max)

[MSSQL] 關於nvarchar(max)

Day 02 七天學會基本演算法(二)淺談演算法複雜度與費波那契數列

Day 02 七天學會基本演算法(二)淺談演算法複雜度與費波那契數列

[新手村系列] Markdown 和 HTML 基礎語法教學

[新手村系列] Markdown 和 HTML 基礎語法教學


Comments